#!/bin/bash
#
# $Id$
#

real_host=`hostname`
os_version=`uname -sr`
total_mem=`free | grep "^Mem:" | awk '{print $2}'`
total_swap=`free | grep "^Swap:" | awk '{print $2}'`
cpu=`cat /proc/cpuinfo | awk -F: '$1 ~ /^model name/ {print "x "$2}' | uniq -c`
      #dmesg | egrep "^CPU[0-9]:|^Memory:"

echo -e "HOST:$real_host"
echo -e "OS:$os_version"
echo -e "RAM:$total_mem"
echo -e "CPU:$cpu"
